package com.baizhi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class CmfzAlbum implements Serializable {


    @TableId(value = "album_id",type = IdType.AUTO )
    private Integer albumId;

    private String albumName;

    private String albumAuthor;

    private String albumTeller;

    private String albumEpisodes;

    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    @JsonFormat(timezone ="GMT+8",pattern ="yyyy-MM-dd HH:mm:ss")
    private Date albumDate;

    private String albumContent;

    private String albumImage;

    private  Integer albumStar;



}
